## http://www.voidcn.com/article/p-tkwwyetr-bqd.html
## https://mp.weixin.qq.com/s/ZSTL4P3rgq8QTRMFkNHvtw
## https://blog.csdn.net/aaahtml/article/details/113307579

## 0 安装 anaconda, python 3.7
## 1 pip install torch-1.4.0+cpu-cp37-cp37m-win_amd64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple/    |    pip install torch==1.4.0 -f https://download.pytorch.org/whl/torch_stable.html
## 2 pip install torchvision==0.5.1
## 3 pip install git+https://gitee.com/huayu696/EasyOCR.git
## 4 手动下载模型 ,c 盘    C:\Users\liuxiongkang\.EasyOCR\model


##  右键运行
import easyocr

# reader = easyocr.Reader(['ch_sim', 'en'])
# reader = easyocr.Reader(['ch_sim', 'en'], gpu = False, detail = 0)
reader = easyocr.Reader(['ch_sim', 'en'], gpu=False)
# result = reader.readtext("111.png")
result = reader.readtext("111.png", detail=0)
print(result)
